{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<form id="J_FormArticle" action="" method="post">
    {if $opt == 'park_station'}
    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>房间名称：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="station_type_name" id="station_type_name"
                   value="{$info.station_type_name}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>
    {else}
    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>工位类型：</label>
        <div class="form-controls">
            <select name="station_class_id" id="station_class_id">
                <option value="">--请选择工位类型--</option>
                {foreach from=$class_list item=v}
                <option value="{$v.station_class_id}" {if $info.station_class_id == $v.station_class_id}selected{/if}>{$v.class_name}</option>
                {/foreach}
            </select>
            <span class="fi-help-text hide"></span>
        </div>
    </div>
    {/if}

    {if $opt == 'park_station'}
    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>价格：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="mini" name="price" id="price"
                   value="{$info.price}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    
    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>建筑面积：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="covered_area" id="covered_area"
                   value="{$info.covered_area}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>实用面积：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="usable_area" id="usable_area"
                   value="{$info.usable_area}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>
    {/if}


    {if $opt == 'zhongchuang_station'}
    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>工位号：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="station_num" id="station_num"
                   value="{$info.station_num}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    <!-- <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>工位数量：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="small" name="station_total_num" id="station_total_num"
                   value="{$info.station_total_num}">
            <span class="fi-help-text hide"></span>
        </div>
    </div> -->

    <!-- {upload_image_widget($pic)} -->
    {/if}

    <div class="formitems inline">
        <label class="fi-name">排序号：</label>
        <div class="form-controls">
            <input type="text" placeholder="" class="mini" name="sort" id="sort"
                   value="{$info.sort}">
            <span class="fi-help-text hide"></span>
        </div>
    </div>

    <div class="formitems inline">
        <label class="fi-name">备注：</label>
        <div class="form-controls">
            <textarea placeholder="" class="xlarge" name="station_desc" id="station_desc">{$info.station_desc}</textarea>
            <span class="fi-help-text hide"></span>
        </div>
    </div>
    <div class="formitems inline">
        <label class="fi-name"></label>
        <div class="form-controls">
            <input type="hidden" name="act" value="{$act}"/>
            <input type="hidden" name="incubator_id" value="{$incubator_id}"/>
            <input type="hidden" name="storey_id" value="{$storey_id}"/>
            <input type="hidden" name="station_type_id" value="{$station_type_id}"/>
            <button type="submit" class="btn btn-blue"><i class="gicon-check white"></i>保存</button>
        </div>
    </div>
</form>
{/block}